package com.rp.system.user.swagger;

import com.rp.common.config.swagger.SwaggerConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.ZonedDateTime;
import java.util.Date;

/**
 * 类说明:
 *
 * @author ****
 * @date 2021-03-11 10:42  新建
 */
@Configuration
@EnableSwagger2
public class SwaggerUser {

    @Bean
    public Docket comrpsystemuser() {
        return SwaggerConfig.createDocket()
                .groupName("系统用户模块")
                .select().apis(RequestHandlerSelectors.basePackage("com.rp.system.user"))
                .build();
    }

}
